//通用样式
.jz-hover {
  background-color: #ececec;
}
.teacher-detail {
  background: #fff;
  padding: 16rpx 40rpx 40rpx 40rpx;
  .teacher-box {
    margin-bottom: 60rpx;
    .teacher {
      margin-bottom: 20rpx;
      .cover {
        width: 100rpx;
        height: 100rpx;
        border-radius: 50rpx;
      }
      .base-info {
        display: flex;
        justify-content: space-between;
        padding-top: 8rpx;
        // width: 320rpx;
        flex: 1;
        margin-left: 30rpx;
        font-size: 24rpx;
        .name {
          color: #4a4a4a;
          font-weight: bold;
          font-size: 28rpx;
          .tag {
            margin-left: 10rpx;
            border-radius: 0 16rpx 0 16rpx;
            color: #fff;
            display: inline-block;
            font-size: 24rpx;
            font-weight: normal;
            padding: 0 20rpx;
            line-height: 40rpx;
            &.primary {
              color: #14cc76;
              background: rgba(20, 204, 118, 0.1);
            }
            &.junior {
              color: #ffba00;
              background: rgba(255, 186, 0, 0.1);
            }
            &.senior {
              color: #fe7141;
              background: rgba(254, 113, 65, 0.1);
            }
          }
        }
        .school-name {
          font-size: 28rpx;
          margin-top: 16rpx;
          color: #757575;
          font-weight: 400;
        }
        .age {
          margin-top: 16rpx;
          font-size: 28rpx;
          color: #757575;
          font-weight: 400;
        }
      }
      .focus {
        font-size: 24rpx;
        height: 48rpx;
        // line-height: 48rpx;
        padding: 0 20rpx;
        color: #14cc76;
        border: 1rpx solid #14cc76;
        border-radius: 28rpx;
        margin-left: 20rpx;
        display: flex;
        align-items: center;
        &.focused {
          color: #757575;
          border: 1rpx solid #cccccc;
          i.icon-check {
            margin-right: 8rpx;
          }
        }
        i.icon-check {
          padding-top: 4rpx;
          font-size: 13rpx;
          margin-right: 8rpx;
        }
        i.icon-guanzhu {
          position: relative;
          top: 1rpx;
          // margin-right: -5rpx;
        }
      }
    }
    .other {
      font-size: 24rpx;
      margin-top: 20rpx;
      color: #9b9b9b;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .course-box {
    margin-top: 30rpx;
    .title {
      margin-bottom: 40rpx;
      height: 44rpx;
      font-size: 32rpx;
      font-family: PingFangSC-Semibold;
      font-weight: bold;
      color: rgba(33, 33, 33, 1);
      line-height: 44rpx;
      letter-spacing: 4rpx;
      // text-shadow: 2rpx 2rpx 0rpx rgba(20, 204, 118, 0.4);
    }
    .course {
      box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.1);
      border-radius: 16rpx;
      padding: 60rpx 20rpx 40rpx 20rpx;
      margin-bottom: 20rpx;
      position: relative;
      border: 2rpx solid #f1f1f1;

      .tag {
        position: absolute;
        right: 0;
        top: 0;
        border-radius: 0 16rpx 0 16rpx;
        color: #fff;
        display: inline-block;
        font-size: 24rpx;
        font-weight: normal;
        padding: 0 20rpx;
        line-height: 40rpx;
        &.primary {
          color: #14cc76;
          background: rgba(20, 204, 118, 0.1);
        }
        &.junior {
          color: #ffba00;
          background: rgba(255, 186, 0, 0.1);
        }
        &.senior {
          color: #fe7141;
          background: rgba(254, 113, 65, 0.1);
        }
      }

      .base-info {
        font-size: 28rpx;
        .course-name {
          height: 106rpx;
          max-height: 80rpx;
          // margin-bottom: 20rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: #4a4a4a;
          font-weight: bold;
        }
        .school-name {
          font-size: 28rpx;
          margin-top: 16rpx;
          color: #14cc76;
          font-weight: 400;
        }
        .other {
          margin-top: 40rpx;
          font-size: 24rpx;
          color: #757575;
          justify-content: space-between;
          .teachers {
            align-content: flex-start;
            .teacher {
              text-align: center;
              .avatar {
                width: 48rpx;
                height: 48rpx;
                border-radius: 100%;
              }
              .name {
                color: #9b9b9b;
                display: inline-block;
                width: 110rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 24rpx;
              }
            }
          }
          .price {
            color: #ff3b30;
            font-size: 40rpx;
            text-align: right;
          }
          .limited {
            color: #ff1e32;
            font-size: 24rpx;
            margin-right: 12rpx;
          }
          .joined-num {
            color: #9b9b9b;
            font-size: 24rpx;
          }
        }
      }
    }
  }
}
